package com.yn.common.request.zy;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "医院科室分页查询条件")
public class OrganDepartmentQueryRequest {

    @ApiModelProperty(value = "科室名称", required = true, example = "科室名称")
    private String departmentName;

    @ApiModelProperty(value = "父级id", example = "0")
    private Integer parentId;

    @ApiModelProperty(value = "等级")
    private Integer level;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
}
